package com.bridgeintelligent.tag.customer.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @description
 * @author: grp 2021-01-10 22:44
 **/
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(description = "下发日志实体")
public class IssueLog {
    @ApiModelProperty(value = "日志id")
    private String id;
    @ApiModelProperty(value = "下发客数")
    private Integer amount;
    @ApiModelProperty(value = "执行状态")
    private String state;
    @ApiModelProperty(value = "失败原因")
    private String reason;
    @ApiModelProperty(value = "数据时间")
    private String dataDate;
    @ApiModelProperty(value = "是否为重试")
    private String isRetry;
    @ApiModelProperty(value = "下发文件")
    private String path;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "下发时间")
    private Date createTime;
    private Date updateTime;

    private String frequency;

    private String indexId;
}

